package com.itbaizhan.openhis.vo;

import com.itbaizhan.openhis.domain.User;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Collections;
import java.util.List;

/**
 *ActiveUser 封装了用户身份信息
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ActiverUser implements Serializable {
	private User user;
	
	private List<String> roles= Collections.EMPTY_LIST;//角色
	
	private List<String> permissions= Collections.EMPTY_LIST;//权限
}
